/**
 *                            License
 * THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS  
 * CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). 
 * THE WORK IS PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW.  
 * ANY USE OF THE WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR  
 * COPYRIGHT LAW IS PROHIBITED.
 * 
 * BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND  
 * AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE  
 * MAY BE CONSIDERED TO BE A CONTRACT,
 * THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED 
 * HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS.
 * 
 */
package com.lineage.server.templates;

import java.util.Calendar;

/**
 * Class <code>L1House</code> 数据库模版:盟屋.
 * 
 * @author jrwz
 * @version 2012-6-16上午10:10:39
 * @see com.lineage.server.templates
 * @since JDK1.7
 */
public final class L1House {

    /** 盟屋编号. */
    private int houseId;
    /** 盟屋名称. */
    private String houseName;
    /** 盟屋范围/大小. */
    private int houseArea;
    /** 盟屋所在的位置/坐标. */
    private String location;
    /** 盟屋的管理者编号(NPC). */
    private int keeperId;
    /** 盟屋是否拍卖中. */
    private boolean isOnSale;
    /** 是否购买地下盟屋. */
    private boolean isPurchaseBasement;
    /** 盟屋纳税期限. */
    private Calendar taxDeadline;

    /** 数据库模版:盟屋. */
    public L1House() {
    }

    /**
     * 取得盟屋范围/大小.
     * 
     * @return 盟屋范围/大小
     */
    public int getHouseArea() {
        return this.houseArea;
    }

    /**
     * 取得盟屋编号.
     * 
     * @return 盟屋编号
     */
    public int getHouseId() {
        return this.houseId;
    }

    /**
     * 取得盟屋名称.
     * 
     * @return 盟屋名称
     */
    public String getHouseName() {
        return this.houseName;
    }

    /**
     * 取得盟屋的管理者编号(NPC).
     * 
     * @return 盟屋的管理者编号(NPC)
     */
    public int getKeeperId() {
        return this.keeperId;
    }

    /**
     * 取得盟屋所在的位置/坐标.
     * 
     * @return 盟屋所在的位置/坐标
     */
    public String getLocation() {
        return this.location;
    }

    /**
     * 取得盟屋纳税期限.
     * 
     * @return 盟屋纳税期限
     */
    public Calendar getTaxDeadline() {
        return this.taxDeadline;
    }

    /**
     * 取得盟屋是否拍卖中.
     * 
     * @return true or false
     */
    public boolean isOnSale() {
        return this.isOnSale;
    }

    /**
     * 取得是否购买地下盟屋.
     * 
     * @return true or false
     */
    public boolean isPurchaseBasement() {
        return this.isPurchaseBasement;
    }

    /**
     * 设置盟屋范围/大小.
     * 
     * @param i
     *            要设置的值
     */
    public void setHouseArea(final int i) {
        this.houseArea = i;
    }

    /**
     * 设置盟屋编号.
     * 
     * @param i
     *            要设置的值
     */
    public void setHouseId(final int i) {
        this.houseId = i;
    }

    /**
     * 设置盟屋名称.
     * 
     * @param s
     *            要设置的名称
     */
    public void setHouseName(final String s) {
        this.houseName = s;
    }

    /**
     * 设置盟屋的管理者编号(NPC).
     * 
     * @param i
     *            编号
     */
    public void setKeeperId(final int i) {
        this.keeperId = i;
    }

    /**
     * 设置盟屋所在的位置/坐标.
     * 
     * @param s
     *            位置/坐标
     */
    public void setLocation(final String s) {
        this.location = s;
    }

    /**
     * 设置盟屋是否拍卖中.
     * 
     * @param flag
     *            true or false
     */
    public void setOnSale(final boolean flag) {
        this.isOnSale = flag;
    }

    /**
     * 设置是否购买地下盟屋.
     * 
     * @param flag
     *            true or false
     */
    public void setPurchaseBasement(final boolean flag) {
        this.isPurchaseBasement = flag;
    }

    /**
     * 设置盟屋纳税期限.
     * 
     * @param i
     *            要设置的值
     */
    public void setTaxDeadline(final Calendar i) {
        this.taxDeadline = i;
    }
}
